﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpSnapInterface.h"
#include "IObject.h"

namespace gcmp
{
    class ISnapSettings;

    /// \brief IPickPointAction的配置类,可以通过这个接口配置一些用户定制的行为
    class GCMP_SNAP_INTERFACE_EXPORT IPickPointActionConfig : public IObject
    {
    public:

        /// \brief 析构函数
        ///
        /// \return void
        virtual ~IPickPointActionConfig() {};

        /// \brief 用户配置自定义的SnapSetting。如果不提供接口实现的话，使用默认行为。
        ///
        /// \param pSnapSetting 传入的SnapSettings对象指针
        /// \return bool 修改成功返回true，否则false
        virtual bool ConfigSnapSettings(ISnapSettings* snapSetting) = 0;
    };
}



